package org.generic.work;

import java.util.List;

/**
 * @author CSY
 * @date 2025 - 03 - 23
 */
public class MainTest {
    public static void main(String[] args) {
        User u = new User(1,"张三",16);
        DAO<User> dao  = new DAO<>();
        dao.save("1001",u);
        List<User> list = dao.list();
        for (User u1 : list) {
            System.out.println(u1);
        }
    }
}
